package com.heifeng.cloudshelf.mvp.programme.contract;

import androidx.viewpager.widget.ViewPager;
import androidx.recyclerview.widget.RecyclerView;

import android.widget.TextView;

import com.heifeng.cloudshelf.base.IBasePresenter;
import com.heifeng.cloudshelf.base.IBaseView;

import java.util.List;

/**
 * Created by Administrator on 2019/9/15.
 */

public class ProgrammeDetailActivityContract {
    public interface View extends IBaseView {
        RecyclerView getRecyclerView();


        TextView getTvAllNum();

        TextView getTvSelect();

        void setCodeImage(String url);
        void setViewImage(String url,String video);
        void setTitle(String title);
        String getUrl();

        ViewPager getViewPager();
    }

    public interface Presenter extends IBasePresenter<View> {
        void init();

        List<String> getList();

        int getFirstItemPos();

        int getLastItemPos();

        void setImagesList(List<String> images);

        void getTableModel(String id);

        void getProductionInfo(int productionInfoId);
    }
}
